<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/7
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%--待开发转换成客户弹框--%>
<div class="winBox transCustomer_winBox">
    <div class="winBox1">
        <div class="winBox3">
            <div class="dealrecord">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">待开发转换成客户</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <div class="resultBox" style="">
                    <div class="centerBox" style="">
                        <div class="resultPadd" style="">
                            <table class="resultTab" style="margin-top: 20px">
                                <tbody style="">
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>客户名称</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="trans_name" placeholder="请输入客户名字"
                                               ng-focus="remHight()"
                                               ng-model="param.keyword"
                                               class="ng-pristine ng-valid ng-empty ng-touched">
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>性别</td>
                                    <td class="tdSelect"><%--公司列表--%>

                                        <select id="trans_sex" autocomplete="off">
                                            <option value="">请选择</option>
                                            <option value="1" name="">男</option>
                                            <option value="2" name="">女</option>
                                        </select>

                                        <%--子级公司列表--%>
                                    </td>
                                </tr>
                                <tr style="">
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>电话</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="trans_phone" placeholder="请输入电话"
                                               ng-focus="remHight()"
                                               ng-model="param.keyword"
                                               class="ng-pristine ng-valid ng-empty ng-touched">
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>业务员</td>
                                    <td class="only-input"><input type="text" autocomplete="off"
                                                                  id="trans_salesMan" placeholder="请输入业务员"
                                                                  class="ng-pristine ng-valid ng-empty ng-touched"></td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="deleFooter">
                                <div class="deleBtn">
                                    <button style="background: #E55A5B;" id="sureTrans">提交转换
                                    </button>
                                    <button style="background:white;">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--新建客户弹框--%>
<div class="winBox addCustomer_winBox">
    <div class="winBox1">
        <div class="winBox3">
            <div class="dealrecord">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">新建客户</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <div class="resultBox" style="">
                    <div class="centerBox" style="">
                        <div class="resultPadd" style="">
                            <table class="resultTab" style="margin-top: 20px">
                                <tbody style="">
                                <tr>
                                    <td>地址</td>
                                    <td class="select-tb">
                                        <span class="tdSelect">
                                        <div class="se-re">
                                            <select class="selectjia_a" id="new_province_list">

                                            </select>
                                            <script type="x-handlebars-template" id="new_province_list_tpl">
                                                <option value="" selected="selected">居住区域</option>
                                                {{#each .}}
                                                <option label="{{name}}" value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>


                                            <select class="selectjia_b" id="new_city_list">
                                                <option value="" class="" selected="selected">选择市</option>
                                            </select>
                                            <script type="x-handlebars-template" id="new_city_list_tpl">

                                                <option value="" class="" selected="selected">选择市</option>
                                                {{#each .}}
                                                <option label="{{name}}" value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>


                                            <select id="new_area_list">
                                                <option value="" class="" selected="selected">选择区县</option>
                                            </select>
                                            <script type="x-handlebars-template" id="new_area_list_tpl">

                                                <option value="" selected="selected">选择区县</option>
                                                {{#each .}}
                                                <option label="{{name}}" value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>
                                        </div>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>详细地址</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="new_address" placeholder="请输入详细地址"
                                               ng-focus="remHight()"
                                               ng-model="param.keyword"
                                               class="ng-pristine ng-valid ng-empty ng-touched">
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>客户名称</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="new_name" placeholder="请输入客户名字"
                                               ng-focus="remHight()"
                                               ng-model="param.keyword"
                                               class="ng-pristine ng-valid ng-empty ng-touched">
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>性别</td>
                                    <td class="tdSelect"><%--公司列表--%>

                                        <select id="new_sex" autocomplete="off">
                                            <option value="">请选择</option>
                                            <option value="1" name="">男</option>
                                            <option value="2" name="">女</option>
                                        </select>

                                        <%--子级公司列表--%>
                                    </td>
                                </tr>
                                <tr style="">
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>电话</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="new_phone" placeholder="请输入电话">
                                    </td>
                                </tr>
                                <tr>
                                    <td>行业</td>
                                    <td class="only-input"><input type="text" autocomplete="off"
                                                                  id="new_vocation"></td>
                                </tr>
                                <tr>
                                    <td>成交率</td>
                                    <td class="tdWei"><label><input type="text" autocomplete="off"
                                                                  id="new_deal_rate">%</label></td>

                                </tr>
                                <tr>
                                    <td>身份证</td>
                                    <td class="only-input"><input type="text" autocomplete="off"
                                                                  id="new_idCard"></td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="deleFooter">
                                <div class="deleBtn">
                                    <button style="background: #E55A5B;" id="sureAddCustomer">确定提交
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--修改客户弹框--%>
<div class="winBox editCustomer_winBox">
    <div class="winBox1">
        <div class="winBox3">
            <div class="dealrecord">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">修改客户</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <div class="resultBox" style="">
                    <div class="centerBox" style="">
                        <div class="resultPadd" style="">
                            <table class="resultTab" style="margin-top: 20px">
                                <tbody style="">
                                <tr>
                                    <td>地址</td>
                                    <td class="select-tb">
                                        <span class="tdSelect">
                                        <div class="se-re">
                                            <select class="selectjia_a" id="edit_province_list">

                                            </select>
                                            <script type="x-handlebars-template" id="edit_province_list_tpl">
                                                <option value="" selected="selected">居住区域</option>
                                                {{#each .}}
                                                <option label="{{name}}" value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>


                                            <select class="selectjia_b" id="edit_city_list">
                                                <option value="" class="" selected="selected">选择市</option>
                                            </select>
                                            <script type="x-handlebars-template" id="edit_city_list_tpl">

                                                <option value="" class="" selected="selected">选择市</option>
                                                {{#each .}}
                                                <option label="{{name}}" value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>


                                            <select id="edit_area_list">
                                                <option value="" class="" selected="selected">选择区县</option>
                                            </select>
                                            <script type="x-handlebars-template" id="edit_area_list_tpl">

                                                <option value="" selected="selected">选择区县</option>
                                                {{#each .}}
                                                <option label="{{name}}" value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>
                                        </div>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>详细地址</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="edit_address" placeholder="请输入详细地址" />
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>客户名称</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="edit_name" placeholder="请输入客户名字" />
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>性别</td>
                                    <td class="tdSelect"><%--公司列表--%>

                                        <select id="edit_sex" autocomplete="off">
                                            <option value="">请选择</option>
                                            <option value="1" >男</option>
                                            <option value="2" >女</option>
                                        </select>

                                        <%--子级公司列表--%>
                                    </td>
                                </tr>
                                <tr style="">
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>电话</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="edit_phone" placeholder="请输入电话">
                                    </td>
                                </tr>
                                <tr>
                                    <td>行业</td>
                                    <td class="only-input"><input type="text" autocomplete="off"
                                                                  id="edit_vocation"></td>
                                </tr>
                                <tr>
                                    <td>成交率</td>
                                    <td class="tdWei"><label><input type="text" autocomplete="off"
                                                                  id="edit_deal_rate">%</label></td>
                                </tr>
                                <tr>
                                    <td>身份证</td>
                                    <td class="only-input"><input type="text" autocomplete="off"
                                                                  id="edit_idCard"></td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="deleFooter">
                                <div class="deleBtn">
                                    <button style="background: #E55A5B;" id="sureEditCustomer">确定提交
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--设置阶段弹框--%>
<div class="winBox setStage_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 ng-scope"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ng-scope">
            <div class="changeMan">
                <!-- 说明：更换业务员 -->
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">设置阶段</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="assBox">
                    <div class="assHeader">
                        <span>*</span>选择阶段
                        <!-- 组件 提醒是否有下一选择审核人员-->
                        <!-- ngInclude: componentMsg --><%--<span class="ng-scope"><span ng-show="componentShow.people" style="color: #E55A5B;margin-left: 7px;" class="ng-scope ng-hide">没有可选审核人员！</span></span>--%>
                    </div>
                    <div class="se-re">
                        <!-- <select ng-focus="remHight()"
                              ng-class="{'error':redErr.admin_id}"
                              ng-model="param.admin_id" ng-options="i.id as i.realName for i in selesman">
                          <option value="">选择业务员</option>
                        </select> -->
                        <select id="setStage_list">
                            <!-- ngRepeat: item in selesman -->
                        </select>

                        <script id="setStage_list_tpl" type="x-handlebars-template">
                            <option value="">选择阶段</option>
                            {{#each content}}
                            <option value="{{id}}">{{stage_name}}</option>
                            {{/each}}
                        </script>

                        <span class="se-po se-box"></span>
                    </div>
                    <button id="sureSetStage">
                        确认提交
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>

<%--设置标签弹框--%>
<div class="winBox setTag_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 选择已有客户 -->
        <div class="winBox6 ">
            <div class="being">
                <!-- 说明：借款人信息 选择已有客户
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">设置标签</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="contentBox">
                    <div class="centerBox">
                        <!-- 列表表单 -->
                        <!-- 客户列表 -->
                        <div class="beInput">
                            <input type="text" autocomplete="off" placeholder="输入关键词" ng-model="data.keyword" class="tagKeyword ng-pristine ng-untouched ng-valid ng-empty">
                            <button class="tagSearch" ng-click="sel('search')">
                                <i class="iconfont icon-sousuo"></i>
                            </button>

                            <button id="addTag" style="width: 100px;color: white">添加标签
                            </button>

                        </div>

                        <div>
                            <table class="table table-hover tabBe">
                                <thead>
                                <tr>
                                    <td>选择</td>
                                    <td>标签</td>
                                    <td>操作</td>
                                </tr>
                                </thead>

                                <tbody id="setTag_list">
                                <!-- end ngRepeat: i in dataList.list -->
                                </tbody>
                                <script id="setTag_list_tpl" type="x-handlebars-template">
                                    {{#if content.list.[0]}}
                                    {{#each content.list}}
                                    <tr>
                                        <td>
                                            <input type="radio" id="checkbox_{{id}}" name="tag_id"
                                                   value="{{id}}" style="height: 36px"
                                                   class="attach_checkbox">
                                        </td>
                                        <td class="">{{label_name}}</td>
                                        <td class="deleteTag" data-id="{{id}}" style="color: #0000ffb3; cursor: pointer;">删除</td>
                                    </tr>
                                    {{/each}}
                                    {{else}}
                                    <tr class="">
                                        <td colspan="16">暂时找不到数据</td>
                                    </tr>
                                    {{/if}}
                                </script>

                            </table>
                        </div>
                    </div>

                    <!-- 底部分页 -->
                    <div class="footerBox" style="padding: 15px; display: block;">
                        <div class="footerBtn">
                            <button id="sureSetTag">确定所选</button>
                        </div>
                        <div class="footerRight">
                            <!-- ngInclude: pageBox -->
                            <div ng-include="pageBox" onload="pgBoxLoad()" id="tag-page-container"
                                 class="page-container">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--新增标签弹框--%>
<div class="winBox addTag_winBox" >
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box">
        <div class="winBox2 ">
            <remarksadmin><!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan  addAndEditAttach_title">新增标签</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->

                    <div class="public-bgDate">

                        <span style="color: black;">名称：</span>
                        <span>


			<input type="text" autocomplete="off" id="tagName" placeholder="请输入名称"
                   class="add_attach_name">
		</span>
                        <%--<span  style="color: black;">所属产品：</span>--%>
                        <%--<div id="selectProductAttachment_content" style="display: inline-block"></div>--%>
                        <%--<script type="x-handlebars-template" id="selectProductAttachment_content_tpl">--%>
                        <%--<div class="se-re tdSelect edit_attach_div_select">--%>
                        <%--<select ng-options="item.ID as item.name for item in selejia2" ng-model="data.addrCity" ng-change="selectjia('b')" class="ng-pristine ng-untouched ng-valid ng-empty edit_attach_select winBox_role_select">--%>
                        <%--<option value="-1" class="" selected="selected">所属产品</option>--%>

                        <%--{{#each content.list}}--%>
                        <%--<option value="{{id}}" class="">{{product_name}}</option>--%>
                        <%--{{/each}}--%>

                        <%--</select>--%>
                        <%--<span class="se-po"></span>--%>
                        <%--</div>--%>
                        <%--</script>--%>
                        <%--<div id="selectProductAttachment_content2" style="display: inline-block"></div>--%>
                        <%--<script type="x-handlebars-template" id="selectProductAttachment_content2_tpl">--%>
                        <%--<div class="se-re tdSelect edit_attach_div_select">--%>
                        <%--<select ng-options="item.ID as item.name for item in selejia2" ng-model="data.addrCity" ng-change="selectjia('b')" class="ng-pristine ng-untouched ng-valid ng-empty winBox_role2_select">--%>
                        <%--<option value="-1" class="" selected="selected">所属节点</option>--%>
                        <%--{{#each content}}--%>
                        <%--<option value="{{id}}" class="">{{node_name}}</option>--%>
                        <%--{{/each}}--%>

                        <%--</select>--%>
                        <%--<span class="se-po"></span>--%>
                        <%--</div>--%>
                        <%--</script>--%>
                    </div>

                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="addTagCommit">确定提交</button>
                        </div>
                    </div>
                </div>
            </remarksadmin>
        </div>
    </div>
</div>

<%--设置来源弹框--%>
<div class="winBox setSource_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 选择已有客户 -->
        <div class="winBox6 ">
            <div class="being">
                <!-- 说明：借款人信息 选择已有客户
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">设置来源</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="contentBox">
                    <div class="centerBox">
                        <!-- 列表表单 -->
                        <!-- 客户列表 -->
                        <div class="beInput">
                            <input type="text" autocomplete="off" placeholder="输入关键词" ng-model="data.keyword" class="sourceKeyword ng-pristine ng-untouched ng-valid ng-empty">
                            <button class="sourceSearch" ng-click="sel('search')">
                                <i class="iconfont icon-sousuo"></i>
                            </button>

                            <button id="addSource" style="width: 100px;color: white">添加来源
                            </button>

                        </div>
                        <div style="max-height: 400px;overflow: auto;">
                            <table class="table table-hover tabBe">
                                <thead>
                                <tr>
                                    <td>选择</td>
                                    <td>来源</td>
                                    <td>操作</td>
                                </tr>
                                </thead>

                                <tbody id="setSource_list">
                                <!-- end ngRepeat: i in dataList.list -->
                                </tbody>
                                <script id="setSource_list_tpl" type="x-handlebars-template">
                                    {{#if content.list.[0]}}
                                    {{#each content.list}}
                                    <tr ng-repeat="i in dataList.list" class="">
                                        <td>
                                            <input type="radio" id="{{id}}" name="source_id"
                                                   value="{{id}}" style="height: 36px;"
                                                   class="source_checkbox">
                                        </td>
                                        <td class="">{{source_name}}</td>
                                        <td class="deteleSource" data-id="{{id}}" style="color: #0000ffb3; cursor: pointer;">删除</td>
                                    </tr>
                                    {{/each}}
                                    {{else}}
                                    <tr class="">
                                        <td colspan="16">暂时找不到数据</td>
                                    </tr>
                                    {{/if}}
                                </script>

                            </table>
                        </div>
                    </div>

                    <!-- 底部分页 -->
                    <div class="footerBox" style="padding: 15px; display: block;">
                        <div class="footerBtn">
                            <button id="sureSetSource">确定所选</button>
                        </div>
                        <div class="footerRight">
                            <!-- ngInclude: pageBox -->
                            <div ng-include="pageBox" onload="pgBoxLoad()" id="source-page-container"
                                 class=" page-container">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<%--设置成交率弹框--%>
<div class="winBox setDealRate_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 ng-scope"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ng-scope">
            <div class="changeMan">
                <!-- 说明：更换业务员 -->
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">设置成交率</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="assBox">
                    <div class="assHeader">
                        <span>*</span>设置成交率
                        <!-- 组件 提醒是否有下一选择审核人员-->
                        <!-- ngInclude: componentMsg --><%--<span class="ng-scope"><span ng-show="componentShow.people" style="color: #E55A5B;margin-left: 7px;" class="ng-scope ng-hide">没有可选审核人员！</span></span>--%>
                    </div>
                    <div class="tdWei">
                        <label>
                        <!-- <select ng-focus="remHight()"
                              ng-class="{'error':redErr.admin_id}"
                              ng-model="param.admin_id" ng-options="i.id as i.realName for i in selesman">
                          <option value="">选择业务员</option>
                        </select> -->
                            <input type="text" id="setDealRate" />%
                        </label>
                    </div>
                    <button id="sureSetDealRate">
                        确认提交
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>


<%--新增来源弹框--%>
<div class="winBox addSource_winBox" >
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box">
        <div class="winBox2 ">
            <remarksadmin><!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan  addAndEditAttach_title">新增来源</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->

                    <div class="public-bgDate">

                        <span style="color: black;">名称：</span>
                        <span>


			<input type="text" autocomplete="off" id="sourceName" placeholder="请输入名称" ng-focus="remHight()"
                   ng-model="param.name"
                   class="ng-pristine ng-untouched ng-valid ng-empty add_attach_name">
		</span>
                        <%--<span  style="color: black;">所属产品：</span>--%>
                        <%--<div id="selectProductAttachment_content" style="display: inline-block"></div>--%>
                        <%--<script type="x-handlebars-template" id="selectProductAttachment_content_tpl">--%>
                        <%--<div class="se-re tdSelect edit_attach_div_select">--%>
                        <%--<select ng-options="item.ID as item.name for item in selejia2" ng-model="data.addrCity" ng-change="selectjia('b')" class="ng-pristine ng-untouched ng-valid ng-empty edit_attach_select winBox_role_select">--%>
                        <%--<option value="-1" class="" selected="selected">所属产品</option>--%>

                        <%--{{#each content.list}}--%>
                        <%--<option value="{{id}}" class="">{{product_name}}</option>--%>
                        <%--{{/each}}--%>

                        <%--</select>--%>
                        <%--<span class="se-po"></span>--%>
                        <%--</div>--%>
                        <%--</script>--%>
                        <%--<div id="selectProductAttachment_content2" style="display: inline-block"></div>--%>
                        <%--<script type="x-handlebars-template" id="selectProductAttachment_content2_tpl">--%>
                        <%--<div class="se-re tdSelect edit_attach_div_select">--%>
                        <%--<select ng-options="item.ID as item.name for item in selejia2" ng-model="data.addrCity" ng-change="selectjia('b')" class="ng-pristine ng-untouched ng-valid ng-empty winBox_role2_select">--%>
                        <%--<option value="-1" class="" selected="selected">所属节点</option>--%>
                        <%--{{#each content}}--%>
                        <%--<option value="{{id}}" class="">{{node_name}}</option>--%>
                        <%--{{/each}}--%>

                        <%--</select>--%>
                        <%--<span class="se-po"></span>--%>
                        <%--</div>--%>
                        <%--</script>--%>
                    </div>

                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="addSourceCommit">确定提交</button>
                        </div>
                    </div>
                </div>

            </remarksadmin>
        </div>
    </div>
</div>



<%--更换业务员--%>
<div class="winBox replacement" >

    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ">
            <div class="changeMan">
                <!-- 说明：更换业务员 -->
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">更换业务员</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="assBox">
                    <div class="assHeader">
                        <span>*</span>选择业务员
                        <!-- 组件 提醒是否有下一选择审核人员-->
                        <!-- ngInclude: componentMsg --><span class="noPeople hide "><span
                            ng-show="componentShow.people" style="color: #E55A5B;margin-left: 7px;">没有可选审核人员！</span>
</span>
                    </div>
                    <div id="admin_content"></div>
                    <script type="x-handlebars-template" id="admin_content_tpl">
                        <div class="se-re">
                            <select ng-focus="F.remHight()" ng-model="param.admin_id"
                                    ng-class="{'error':redErr.admin_id}"
                                    class="ng-pristine ng-untouched ng-valid ng-not-empty">
                                <option value="">选择业务员</option>
                                {{#each list.content}}
                                <option {{#IF_EQ id ..
                                /admin_id}}selected{{/IF_EQ}} ng-repeat="item in selesman" value="{{id}}"
                                class=" ">{{realName}}
                                </option>
                                {{/each}}
                            </select>
                            <span class="se-po se-box"></span>
                        </div>
                    </script>
                    <button id="changeCommitBtn">
                        确认提交
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>


<%--查看关联订单--%>
<div class="winBox associatedOrder">
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ">
            <div class="relatOrder">
                <!-- 说明：查看关联订单
                  tems3模板下的loanBefore > boxTem操作记录模板 -->

                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">查看关联订单</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="contentBox">
                    <!-- 中间列表 -->
                    <div class="centerBox">
                        <!-- 列表表单 -->
                        <div class="beInput">
                            <div id="contract_head_date" style="display: inline-block"></div>
                            <div id="orderState_content_tpl" style="display: inline-block"></div>

                            <!-- <div class="se-re">
                              <select ng-model="data.loan_way">
                                <option value="">贷款方式</option>
                                <option value="1">红本抵押</option>
                                <option value="2">红本质押</option>
                              </select>
                              <span class="se-po se-pointput"></span>
                            </div> -->
                            <input type="text" class="productName" placeholder="产品名称"/>
                            <button id="selectOrderSerach">
                                <i class="iconfont icon-sousuo"></i>
                            </button>
                        </div>

                        <!-- 客户列表 -->
                        <table class="table table-hover tabBe" type="max-height: 400px;overflow-y: scroll;">
                            <thead>
                            <tr>
                                <td>姓名</td>
                                <td>创单时间</td>
                                <td>借款编号</td>
                                <td>所属产品</td>
                                <td>期限</td>
                                <td>借款金额</td>
                                <td>业务员</td>
                                <td>部门</td>
                                <td>状态</td>
                            </tr>
                            </thead>
                            <tbody id="dataList_content">
                            </tbody>

                            <script type="x-handlebars-template" id="dataList_content_tpl">
                                {{#if content.list}}
                                {{#each content.list}}
                                <tr data-order_id="{{order_id}}"
                                    data-node_id="{{node_id}}" data-s_id="{{s_id}}"
                                    data-product_id="{{product_id}}"
                                    class="table-tr-hover orderList">
                                    <!-- ngIf: i.s_id<13 -->
                                    <td ng-if="i.s_id<13" class=" ">{{pName}}</td>
                                    <!-- end ngIf: i.s_id<13 -->
                                    <td class="">{{found_time}}</td>
                                    <td class="">{{loan_number}}</td>
                                    <td class="">{{product_name}}</td>
                                    <td class="">{{#IF_EQ repayment_way '4'}}{{at_id}}天{{else}}{{term}}{{/IF_EQ}}</td>
                                    <td class="">￥{{#thounsandBit apply_money}}{{/thounsandBit}}</td>
                                    <td class="">{{admin_name}}</td>
                                    <td class="">
                                        {{#if dpt_name2}}
                                        {{dpt_name2}}&gt;
                                        {{/if}}
                                        {{#if dpt_name1}}
                                        {{dpt_name1}}&gt;
                                        {{/if}}
                                        {{#if dpt_name}}
                                        {{dpt_name}}
                                        {{/if}}
                                    </td>
                                    <!-- 状态 -->
                                    <td class="">
                                        {{s_name}}
                                    </td>
                                </tr>
                                {{/each}}
                                {{else}}
                                <tr ng-if="data.content.list.length ==0" class="">
                                    <td colspan="16">暂时找不到数据</td>
                                </tr>
                                {{/if}}
                            </script>
                        </table>
                    </div>

                    <!-- 底部分页 -->
                    <div class="footerBox" style="display: block;">
                        <div class="footerBtn">
                        </div>
                        <div class="footerRight">
                            <!-- <div class="footerLeft">
                              <span>首页</span>
                              <i>上一页</i>
                              <ul class="pageUl">
                                <li ng-click="click(i)" ng-repeat="i in items">1</li>
                              </ul>
                              <i>下一页</i>
                              <span>尾页</span>
                            </div> -->
                            <!-- ngInclude: pageBox -->
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>


<%--删除客户弹窗--%>
<div class="winBox delete_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明：提交评审弹窗 -->
        <div class="winBox5 ">
            <div>
                <div class="headerBox">
                    <!-- ngIf: recheckLoan==2 --><span class="headerSpan " ng-if="recheckLoan==2">删除客户</span>
                    <!-- end ngIf: recheckLoan==2 -->
                    <!-- ngIf: recheckLoan==1 -->
                    <!-- ngIf: recheckLoan==3 -->
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 底部 -->
                    <div class="deleteTit">
                        <span class="first"><i class="iconfont icon-tips2"></i></span>
                        <!-- ngIf: recheckLoan==1 || recheckLoan==2 --><span ng-if="recheckLoan==1 || recheckLoan==2" class="">您确定删除该客户吗？</span>
                        <!-- end ngIf: recheckLoan==1 || recheckLoan==2 -->
                        <!-- ngIf: recheckLoan==3 -->
                    </div>
                    <div class="deleFooter" style="padding: 0;">
                        <div class="deleBtn">
                            <button ng-click="btn()" id="sureDelete" style="margin: 0;margin-bottom: 30px;margin-left: 68px;">确认
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>